package eu.news.data.pojo;

import java.util.Set;

/**
 * 新闻分类
 * @author WZZ
 *
 */
public abstract class Sort implements Entity {

	public abstract int getId();

	public abstract void setId(int id);

	public abstract String getName();

	public abstract void setName(String name);

	public abstract Set<? extends News> getNews();

	public abstract void setNews(Set<? extends News> news);

	public abstract Special getSpecial();

	public abstract void setSpecial(Special special);

	public abstract Set<? extends Operator> getOperators();

	public abstract void setOperators(Set<? extends Operator> operators);

	@Override
	public abstract int hashCode();

	@Override
	public abstract boolean equals(Object obj);
}
